import * as types from './action-type';

// example  的增加 count
export const countAdd = () => {
    //console.log(value, datatype ,'可以传递两个参数吗?');
    return {
        type: types.COUNTADD
    }
};
export const countDel = () => {
    return {
        type: types.COUNTDEL
    }
};
export const countSet = (value) => {
    return {
        type: types.COUNTSET,
        value
    }
};
